package com.v5ba.spring;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SpringEventConfiguration {
    @Bean
    public MyContextClosed getMyContextClosed(){
        return new MyContextClosed();
    }
    @Bean
    public MyContextRefreshed getMyContextRefreshed(){
        return new MyContextRefreshed();
    }
    @Bean
    public MyContextStarted getMyContextStarted(){
        return new MyContextStarted();
    }
    @Bean
    public MyContextStopped getMyContextStopped(){
        return new MyContextStopped();
    }
}
